package yxy.cherry.data.bean;

import yxy.cherry.data.bean.model.DataClass;
import yxy.cherry.data.bean.model.DataType;

@DataType
public class commandertallyrandom implements DataClass {

    public int id;
    public int quality;
    public int entrylevel;
    public int attributetype;
    public String name;
    public int target;
    public int min;
    public int max;
    public int trait;
    public int attack;
    public int defense;

    public int getId() {
        return id;
    }

    public int getQuality() {
        return quality;
    }

    public int getEntrylevel() {
        return entrylevel;
    }

    public int getAttributetype() {
        return attributetype;
    }

    public String getName() {
        return name;
    }

    public int getTarget() {
        return target;
    }

    public int getMin() {
        return min;
    }

    public int getMax() {
        return max;
    }

    public int getTrait() {
        return trait;
    }

    public int getAttack() {
        return attack;
    }

    public int getDefense() {
        return defense;
    }

    @Override
    public String getCode() {
        return String.valueOf(getId());
    }
}